package cn.JHai.service;

import cn.JHai.domain.Music;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.ArrayList;

public interface MusicService {

    public boolean insert(Music music) ;

    public ArrayList<Music> findAll() ;

    public Music find(String mid) ;

    public ArrayList<Music> findmusic(String name) ;

    public boolean delete(int id);

    public boolean update(Music music) ;
}
